package com.market.goods.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.market.goods.dao.es.Location;
import com.market.goods.dao.mongo.CommentMap;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class QueryMarketGoodsDetailsVO {

    int page = 1;
    int size = 10;
    private String id;

    /**
     * 商品id
     */
    private String goodsId;

    private Location location;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 店铺地址
     */
    private String address;

    /**
     * 打分
     */
    private int scoring;

    /**
     * 商品图片地址
     */
    private List<String> imageUrls;

    private List<CommentMap> commentMaps;

    /**
     * 商品类型id
     */
    private Long goodsTypeId;

    /**
     * 商品标签
     */
    private String goodsLabels;

    /**
     * 商品价格
     */
    private BigDecimal goodsPrice;

    /**
     * 商户id
     */
    private String shopId;

    private String shopName;

    private Integer version;

    private Date createdTime;
    private Date updateTime;
}
